<template>
    <div class="settingheader">
        <router-link :to='backpage'>
            <img class="settingback" src="http://ot9lfn4ld.bkt.clouddn.com/settingheaderjt.png" alt="返回">
        </router-link>   
        <h3 class="settingtitle" >{{titletext}}</h3>
    </div>
</template>
<script>
export default {
  name:'settingheader',
  data(){
      return {

      }
  },
  props : {
      titletext:{
          type:String,
          default:"设置"
      },
      backpage:{
          type:String,
          default:'/'
      }
  }
}
</script>
<style lang="less" scoped>
    .settingheader {
        height: 88/75rem;
        background: #ff406f;
        text-align: center;
        position: relative;
        .settingback {
            position: absolute;
            height: 33/75rem;
            width: 29/75rem;
            left: 20/75rem;
            top: 25/75rem;
        }
        .settingtitle{
            font-size: 36/75rem;
            color: #fff;
            line-height: 88/75rem;
            font-weight: normal;
        }
    }
</style>